package com.example.administrator.szb.bean;
import java.util.List;
import java.util.Map;

/**
 * Created by stone on 2018/1/5.
 */

public class ProjectDetail {

    /**
     * id : 4
     * businessName : 股票质押
     * status : 订单已取消
     * statusType : 10   //
     * name : 冻
     * tel : 18337179202
     * content :
     * busformId : [3,8]
     * indentInfo : {"79":{"keyName":"负面信息","valueName":"ST股"},"11":{"keyName":"利率要求","valueName":"666 %"},"3":{"keyName":"所属市场","valueName":"主板"},"2":{"keyName":"股票属性","valueName":"限售股"},"10":{"keyName":"融资期限","valueName":"666 月"},"7":{"keyName":"融资金额","valueName":"11 万元"},"6":{"keyName":"质押股数","valueName":"1111 万股"},"4":{"keyName":"所处行业","valueName":"两高一剩"},"9":{"keyName":"放款时间","valueName":"2018-01-04 "},"8":{"keyName":"折扣率","valueName":"114 %"},"89":{"keyName":"股票代码","valueName":"弄 "}}
     * serviceCoun : [{"users_id":313,"city":"山东-济南-天桥","logo":"http://210.22.105.38:8888/uploads/1515031034ebOc.jpg","company":"稳进信息","name":"与经理","zhenshi_img":"http://210.22.105.38:8888/uploads/15148639827Fok.jpg","work_tel":"1111-111111111-11","statusType":8,"status":"订单已取消","reason":"兔兔","is_eval":0}]
     * reasons : 兔兔
     * genre : 2
     * create_time : 2018-01-04 01:45:02
     * order_number : 20180104014650
     */
    /**
     * statusType
     * 用户的项目状态1=>'待审核', 2=>'未通过',3=>'待接单',
     * 4=>'机构拒单',5=>'推送机构中',6=>'待选择机构',
     * '7'=>'进行中',8=>'项目失败',9=>'项目成功',
     * 10=>'订单已取消',0=>项目结束

     */

    private int id;
    private String businessName;
    private String status;
    private int statusType;
    private String name;
    private String tel;
    private String content;
    private Map<Integer, YWInfoData> indentInfo;
    private String reasons;
    private int genre;
    private String create_time;
    private String order_number;
    private List<Integer> busformId;
    private List<ServiceCounBean> serviceCoun;

    @Override
    public String toString() {
        return "ProjectDetail{" +
                "id=" + id +
                ", businessName='" + businessName + '\'' +
                ", status='" + status + '\'' +
                ", statusType=" + statusType +
                ", name='" + name + '\'' +
                ", tel='" + tel + '\'' +
                ", content='" + content + '\'' +
                ", reasons='" + reasons + '\'' +
                ", genre=" + genre +
                ", create_time='" + create_time + '\'' +
                ", order_number='" + order_number + '\'' +
                '}';
    }
    public ProjectDetail(){}
    public ProjectDetail(int id, String businessName, String status, int statusType, String name, String tel, String content, Map<Integer, YWInfoData> indentInfo, String reasons, int genre, String create_time, String order_number, List<Integer> busformId, List<ServiceCounBean> serviceCoun) {
        this.id = id;
        this.businessName = businessName;
        this.status = status;
        this.statusType = statusType;
        this.name = name;
        this.tel = tel;
        this.content = content;
        this.indentInfo = indentInfo;
        this.reasons = reasons;
        this.genre = genre;
        this.create_time = create_time;
        this.order_number = order_number;
        this.busformId = busformId;
        this.serviceCoun = serviceCoun;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getStatusType() {
        return statusType;
    }

    public void setStatusType(int statusType) {
        this.statusType = statusType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Map<Integer, YWInfoData> getIndentInfo() {
        return indentInfo;
    }

    public void setIndentInfo(Map<Integer, YWInfoData> indentInfo) {
        this.indentInfo = indentInfo;
    }

    public String getReasons() {
        return reasons;
    }

    public void setReasons(String reasons) {
        this.reasons = reasons;
    }

    public int getGenre() {
        return genre;
    }

    public void setGenre(int genre) {
        this.genre = genre;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getOrder_number() {
        return order_number;
    }

    public void setOrder_number(String order_number) {
        this.order_number = order_number;
    }

    public List<Integer> getBusformId() {
        return busformId;
    }

    public void setBusformId(List<Integer> busformId) {
        this.busformId = busformId;
    }

    public List<ServiceCounBean> getServiceCoun() {
        return serviceCoun;
    }

    public void setServiceCoun(List<ServiceCounBean> serviceCoun) {
        this.serviceCoun = serviceCoun;
    }



    public static class ServiceCounBean {
        /**
         * users_id : 313
         * city : 山东-济南-天桥
         * logo : http://210.22.105.38:8888/uploads/1515031034ebOc.jpg
         * company : 稳进信息
         * name : 与经理
         * zhenshi_img : http://210.22.105.38:8888/uploads/15148639827Fok.jpg
         * work_tel : 1111-111111111-11
         * statusType : 8
         * status : 订单已取消
         * reason : 兔兔
         * is_eval : 0
         */

        private int users_id;
        private String city;
        private String logo;
        private String company;
        private String name;
        private String zhenshi_img;
        private String work_tel;
        private int statusType;
        private String status;
        private String reason;
        private int is_eval;

        @Override
        public String toString() {
            return "ServiceCounBean{" +
                    "users_id=" + users_id +
                    ", city='" + city + '\'' +
                    ", logo='" + logo + '\'' +
                    ", company='" + company + '\'' +
                    ", name='" + name + '\'' +
                    ", zhenshi_img='" + zhenshi_img + '\'' +
                    ", work_tel='" + work_tel + '\'' +
                    ", statusType=" + statusType +
                    ", status='" + status + '\'' +
                    ", reason='" + reason + '\'' +
                    ", is_eval=" + is_eval +
                    '}';
        }
        public ServiceCounBean(){}
        public ServiceCounBean(int users_id, String city, String logo, String company, String name, String zhenshi_img, String work_tel, int statusType, String status, String reason, int is_eval) {
            this.users_id = users_id;
            this.city = city;
            this.logo = logo;
            this.company = company;
            this.name = name;
            this.zhenshi_img = zhenshi_img;
            this.work_tel = work_tel;
            this.statusType = statusType;
            this.status = status;
            this.reason = reason;
            this.is_eval = is_eval;
        }

        public int getUsers_id() {
            return users_id;
        }

        public void setUsers_id(int users_id) {
            this.users_id = users_id;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public String getCompany() {
            return company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getZhenshi_img() {
            return zhenshi_img;
        }

        public void setZhenshi_img(String zhenshi_img) {
            this.zhenshi_img = zhenshi_img;
        }

        public String getWork_tel() {
            return work_tel;
        }

        public void setWork_tel(String work_tel) {
            this.work_tel = work_tel;
        }

        public int getStatusType() {
            return statusType;
        }

        public void setStatusType(int statusType) {
            this.statusType = statusType;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getReason() {
            return reason;
        }

        public void setReason(String reason) {
            this.reason = reason;
        }

        public int getIs_eval() {
            return is_eval;
        }

        public void setIs_eval(int is_eval) {
            this.is_eval = is_eval;
        }
    }
    public static class YWInfoData {

        /**
         * keyName : 减持日期
         * valueName : 2017-11-02
         */

        private String keyName;
        private String valueName;
        public YWInfoData(){}
        public YWInfoData(String keyName, String valueName) {
            this.keyName = keyName;
            this.valueName = valueName;
        }

        public String getKeyName() {
            return keyName;
        }

        public void setKeyName(String keyName) {
            this.keyName = keyName;
        }

        public String getValueName() {
            return valueName;
        }

        public void setValueName(String valueName) {
            this.valueName = valueName;
        }
    }
}
